<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
  <title>充值成功</title>
  <link rel="stylesheet" href="/mobile/css/index.css" />
  <script src="/mobile/js/vue.js"></script>
  <script src="/mobile/js/vant.min.js"></script>
  <script src="/mobile/js/dayjs.min.js"></script>
  <style>
  * {
    margin: 0;
    padding: 0;
    -webkit-user-select: none;
    /* Safari */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* IE10+/Edge */
    user-select: none;
    /* Standard syntax */
    list-style: none;
  }

  #app {
    min-height: 100vh;
    box-sizing: border-box;
  }
  .page {
    padding-top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .icon {
    width: 60px;
    height: 60px;
  }
  .text {
    font-size: 20px;
    font-weight: bold;
    margin: 20px 0 10px;
  }
  .tips {
    font-size: 14px;
    color: #666;
    margin-bottom: 80px;
  }
  .pay-btn {
    width: 220px;
    font-size: 18px;
  }
  .pay-btn .van-button__text {
    color: #A2A8B7;
  }

  </style>
</head>

<body>
  <div id="app">
    <div class="page">
      <img class="icon" src="/mobile/img/success-icon.png" alt="">
      <div class="text">支付成功</div>
      <div class="tips">可以在"贝贝语音"中查看充值详情</div>
      <van-button class="pay-btn" color="#F5F5F5" round @click="closeWindow">知道了</van-button>
    </div>
  </div>
  <script>
  new Vue({
    el: '#app',
    data: {
    },
    created() {
      
    },
    methods: {
      closeWindow () {
        window.AlipayJSBridge.call('closeWebview')
      }
    }
  })
  </script>
</body>

</html>